<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/12/10 0010
 * Time: 10:12
 */
//入口文件
// m 模块
// c 控制器
// f 方法

var_dump($_GET);
$m = isset($_GET['m'])?$_POST['m']:'index';
$c = isset($_GET['c'])?$_POST['c']:'index';
$f = isset($_GET['f'])?$_POST['f']:'index';

include "./".$m."/controller/".$c.".php";
$obj = new $c();
$data = $obj->$f();